package com.business.user.mapper;

import java.util.List;

import com.baomidou.mybatisplus.mapper.BaseMapper;

import com.business.user.entity.UserDataQuantity;
import org.apache.ibatis.annotations.Param;

/**
 * 用户数据统计表:数据层
 * @author chenjiehong
 * @date 2019-11-29 14:28:27
 * @since 1.0
 */
public interface UserDataQuantityMapper extends BaseMapper<UserDataQuantity> {
    

    Integer updateByField(@Param("userId") Integer userId,@Param("field")String field,@Param("quantity") Integer quantity);


    Integer insertByField(@Param("userId") Integer userId,@Param("field")String field,@Param("quantity") Integer quantity);

}
